﻿<controls:ChildWindow x:Class="ControlTestApplications.Silverlight.Dashboard.AuthPrompt"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      Title="Authentication Required">

    <Grid x:Name="LayoutRoot"
          Width="540">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal"
                    Margin="5"
                    Grid.Row="0">
            <TextBlock Text="Please authenticate by following "></TextBlock>
            <HyperlinkButton x:Name="lnkAuthorise"
                             Click="lnkAuthorise_Click"
                             Content="this link."></HyperlinkButton>
        </StackPanel>
        <TextBlock x:Name="tbInfo"
                   Text="You may retry the operation once authentication is complete. However, it may take sometime for the system to complete the process."
                   TextWrapping="Wrap"
                   Margin="5"
                   Grid.Row="1"></TextBlock>
        <StackPanel Orientation="Horizontal"
                    Grid.Row="2"
                    HorizontalAlignment="Right">
            <Button x:Name="DoneButton"
                    Content="OK"
                    Click="DoneButton_Click"
                    Margin="0,10,10,5"
                    Padding="10,5" />
        </StackPanel>

    </Grid>

</controls:ChildWindow>